A carpenter wants a program to calculate the areas and perimeters of rooms to be carpeted in houses so as to determine how much carpet and other materials to order. Since different houses have different numbers of rooms being carpeted, the carpenter wants a program that will allow her to enter in the measurements for as many rooms as need carpet in a given house. The program should continue to ask for the required measurements (for a room) and both calculate and output the area and perimeter until all rooms have been dealt with. After the carpenter is finished measuring the rooms in a house, the program should output the total area and total perimeter of the rooms to be carpeted in the house as well as the number of rooms being carpeted.
Your tasks are to:
Be sure you understand the problem! If there is anything you are not clear about, SEE THE INSTRUCTOR!!!